package com.adb.indian.rto.utility; 


import android.content.Context;
import android.os.Environment;
 
public class Const {
	
	//APPLICATION PREFERENCE FILE NAME 
	public static String PREF_FILE = "PREF_INDIAN_RTO";
	
	// APPLICATION DB NAME 
	public static String DB_NAME = "IndianRTO.db";
	
	public static Context CONTEXT;
	
	//SD CARD DIRECTORY NAME  
	public static String APP_HOME = Environment.getExternalStorageDirectory().getPath() + "/Indian_RTO_App";
	
	public static String PRIVATE_DATA = "/data/data/com.adb.indian.rto/databases/";
	
	public static String LOG_DIR = APP_HOME + "/Crash_Log";
	
	
	// APPLICATION STATIC FIELD 
	
	public static final int SPLASH_TIME = 3000;	//VALUE SHOULD IN MILISECONDS 
	public static boolean IsSplashVisible;
	
	public static String FILE_USER_LIST = PRIVATE_DATA + "FILE_USER_LIST.sr";
	public static String FILE_RANDOM_LIST = PRIVATE_DATA + "FILE_RANDOM_LIST.sr";
	
	public static String CATEGORY_ITEMS_ONE = PRIVATE_DATA + "CATEGORY_ITEMS_ONE.sr";
	public static String CATEGORY_ITEMS_TWO = PRIVATE_DATA + "CATEGORY_ITEMS_TWO.sr";
	public static String CATEGORY_ITEMS_THREE = PRIVATE_DATA + "CATEGORY_ITEMS_THREE.sr";
	public static String CATEGORY_ITEMS_FOUR = PRIVATE_DATA + "CATEGORY_ITEMS_FOUR.sr";
	
	
	public static String EXPID = "ExpId";
	public static String EXPGROUPID = "ExpGroupId";
	public static String ExpTRIALID = "ExpTrialId";
	public static String ExpTRIALNO = "ExpTrialNo";
	
	public static String EXP_STATUS = "EXP_STATUS";
	
	public final static String DATE_FORMATE = "yyyy/MMM/dd";  
	public final static String DATE_FORMATE_ONE = "yyyy/MM/dd";
	public final static String DATE_TIME_FORMATE = "yyyy/MM/dd hh:mm:ss aa";
	
	public final static String FILE_TYPE_XLS = ".xls";
	public final static String FILE_TYPE_XLSX = ".xlsx";
	
	public static String[] HEADER_ROW = {
			"Sr no", "Date", "Group", "Trial No","screen",
			"landing-time", "Landing-x", "Landing-y",
			"Take-off-time", "Take-off-x", "Take-off-y",
			"Activated-button",
			"Result","Activation-strategy",
			"Button1", "Button1-x", "Button1-y",
			"Button2", "Button2-x", "Button2-y",
			"Button3", "Button3-x","Button3-y",
			"Button4", "Button4-x", "Button4-y" 
			};
	
	
	
	//APPLICATION PREFERENCE FILE VARIABLES ALWAYS START WITH
	//PREFIX PREF_ ,IT'S DEFAUL VALUES START WITH PREFIX DVALUS_
	 
	public static final String PREF_SYSTEM_LEVEL = "SYSTEM_LEVEL";
	public static final String DVALUS_SYSTEM_LEVEL = "0";
	
	public static final String PREF_CURRENT_GROUP_NAME = "CURRENT_GROUP_NAME";
	
	
	public final static String PREF_CURRENT_FILE_NAME = "CURRENT_FILE_NAME";
	public final static String PREF_CURRENT_SHEET_NAME = "CURRENT_SHEET_NAME";
	public final static String PREF_CURRENT_SR_NO = "SR_NO";
	public final static int DVALUS_CURRENT_SR_NO = 0;
	
	
}
